<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    div {
        width: 200px;
        height: 200px;
        /* display: block; */
        /* position: relative; */
    }

    /* div::after {
        content: "";
        background: url('https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fbpic.588ku.com%2Felement_origin_min_pic%2F16%2F10%2F29%2F2ac8e99273bc079e40a8dc079ca11b1f.jpg&refer=http%3A%2F%2Fbpic.588ku.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1630045700&t=410541f7d5a39f929beeb466cf9abc9e');
        opacity: 0.5;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1;
    } */
    p {
        width: 100px;
        height: 100px;
    }
</style>

<body>
    <div></div>
    <p class="qq">drfghjkl</p>


    <script src="../乌托家/static/libs/javascripts/jQuery.js"></script>
    <script>

        // $(window).scroll(function () {
            var _top = $('.qq')
            console.log($('.qq').offset().top)
        // })
    </script>
</body>

</html>